<div style="background:url(/ccds/img/frontend/headbar-bg.gif) repeat-x;">
	<div style="float:left;padding-top:4px;padding-left:10px;"><strong>{$obj.obj_name_name|stripslashes|truncate:80:"..."}</strong></div>
	<div style="float: right;"><a href="javascript:void(0);" onclick="CMS_close();"><img src="/ccds/img/frontend/bt-close.gif" alt="schliessen" border="0" /></a></div>
	<div style="clear:both;"></div>
</div>
<div style="padding:10px;">
	<br />
	<div style="position:relative;">
	{if is_array($aFormFields) }
		<form name="form_content_id" id="form_content_id">
		<input type="hidden" name="obj_id" value="{$obj.obj_id}" />
		<input type="hidden" name="obj_vers_id" value="{$obj_vers_id}" />
		{foreach name="formfieldloop" item=field from=$aFormFields}
				{if file_exists("`$CMS_TPL_DIR`forms/`$field.formtype`.tpl")}
					{include file="`$CMS_TPL_DIR`forms/`$field.formtype`.tpl" content=$field}
				{else}
					<strong>MISSING</strong> {$field.formtype}<br />
				{/if}
				<hr style="width:100%" color="#CCCCCC" noshade="noshade" size=1 />
		{/foreach}
		{if $obj.permissions.modify == 1}
			<div class="divFormFieldLabel">&nbsp;</div>
			{literal}<div class="divFormFieldInput"><input type="button" name="submitbtn" value="speichern" class="submitbtn" onclick="CMS_SAVE_FORM('FrontEndSave','form_content_id');"/></div>{/literal}
			<br style="clear:both;" />
		{else}
			Sie haben nicht Berechtigungen diesen Eintrag zu bearbeiten.
		{/if}
		</form>
	{else}
	Dieses Objekt enthält keine Daten
	{/if}
	</div>
</div>
	<div id="CCDS_save_response" style="padding-left:120px;padding:4px;color:#fff;"></div>
<div style="background:url(/ccds/img/frontend/headbar-bg.gif) repeat-x;">
	<div style="float:left;padding-top:4px;padding-left:10px;"><strong>{$obj.obj_name_name|stripslashes|truncate:150:"..."}</strong></div>
	<div style="float: right;"><a href="javascript:void(0);" onclick="CMS_close();"><img src="/ccds/img/frontend/bt-close.gif" alt="schliessen" border="0" /></a></div>
	<div style="clear:both;"></div>
</div>